home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / Issue33 / random / Ezdslopt.inc < prev    next >
Encoding:
Text File  |  1998-03-18  |  2.0 KB  |  71 lines

  1. {===EZDSLOPT.INC======================================================
  2.  
  3. Fixed compiler options for the EZ Delphi Structures Library.
  4. DO NOT MODIFY ANYTHING IN THIS FILE.
  5.  
  6. EZDSLOPT.INC is Copyright (c) 1995-1998 by Julian M. Bucknall
  7.  
  8. VERSION HISTORY
  9. 18Mar98 JMB 3.00 Initial release (BETA TEST)
  10. {=====================================================================}
  11.  
  12. { Check for Delphi }
  13. {$IFNDEF VER80} {$IFNDEF VER90} {$IFNDEF VER100}
  14. !! Error - EZDSL is for Delphi 1.0, 2.0 or 3.0 *only*
  15. {$ENDIF} {$ENDIF} {$ENDIF}
  16.  
  17. {------Fixed compiler options throughout EZDSL------------------------}
  18.  
  19. {---Delphi 1.0 specific---}
  20. {$IFDEF VER80}
  21. {$B-   Short-circuit boolean expressions }
  22. {$G+   80286+ type instructions }
  23. {$I+   I/O checking via exceptions }
  24. {$V-   Disable var string checking }
  25. {$W-   No Windows realmode stack frame }
  26. {$X+   Enable extended syntax }
  27. {$IFDEF DEBUG}
  28. {$D+,L+  Enable debug information }
  29. {$ELSE}
  30. {$D-,L-  Disable debug information }
  31. {$ENDIF}
  32. {$ENDIF}
  33.  
  34. {---Delphi 2.0 specific---}
  35. {$IFDEF VER90}
  36. {$A+   Use DWORD alignment whereever possible }
  37. {$B-   Short-circuit boolean expressions }
  38. {$I+   I/O checking via exceptions }
  39. {$V-   Disable var string checking }
  40. {$W-   No Windows realmode stack frame }
  41. {$X+   Enable extended syntax }
  42. {$IFDEF DEBUG}
  43. {$D+,L+  Enable debug information }
  44. {$ELSE}
  45. {$D-,L-  Disable debug information }
  46. {$ENDIF}
  47. {$ENDIF}
  48.  
  49. {---Delphi 3.0 specific---}
  50. {$IFDEF VER100}
  51. {$A+   Use DWORD alignment whereever possible }
  52. {$B-   Short-circuit boolean expressions }
  53. {$I+   I/O checking via exceptions }
  54. {$V-   Disable var string checking }
  55. {$W-   No Windows realmode stack frame }
  56. {$X+   Enable extended syntax }
  57. {$IFDEF DEBUG}
  58. {$D+,L+  Enable debug information }
  59. {$ELSE}
  60. {$D-,L-  Disable debug information }
  61. {$ENDIF}
  62. {$ENDIF}
  63.  
  64. {---Hints and Warnings for Delphi 2/3}
  65. {$IFNDEF VER80}
  66. {$WARNINGS ON}
  67. {$HINTS ON}
  68. {$ENDIF}
  69. {---------------------------------------------------------------------}
  70.  
  71.